{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}" />
<h1>{{ question.question_text }}</h1>

<ul>
{% for choice in question.choice_set.all %}
    <li>{{ choice.choice_text }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li>
{% endfor %}
</ul>

<div class="vote-again-container">
    <a href="{% url 'polls:detail' question.id %}" class="btn btn-primary">再次投票</a>
    <a href="{% url 'polls:index' %}" class="btn btn-secondary">返回列表</a>
</div>
<div class="admin-link">
    <a href="/admin/" class="btn btn-accent">管理后台</a>
</div>